﻿<Window x:Class="NormalGsearch.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:c="clr-namespace:NormalGsearch"
        Title="normalGsearch - Version 0.2 - Präsentiert von blinkgestalten" Height="359" Width="492" ResizeMode="NoResize" Background="Black" BorderBrush="{x:Null}" Icon="/normalGsearch;component/Resources/ElektrohaseIcon32.ico">
		<Window.Resources>        
			<c:NormalGSearchViewModel x:Key="normalGsearchViewModel"/>        
		</Window.Resources>
		<Window.DataContext>
			<Binding Source="{StaticResource normalGsearchViewModel}"/>
		</Window.DataContext>
    <Grid Height="307" Width="459">
        <Button Content="Normale Google-Suchen Starten" Height="23" HorizontalAlignment="Left" Margin="10,219,0,0" Name="button1" VerticalAlignment="Top" Width="200" Command="{Binding Path=StartSearchCommand, Source={StaticResource normalGsearchViewModel}}"/>
        <GroupBox Header="Google Anmeldedaten" Height="117" Margin="12,12,0,0" Name="groupBox1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="290" Foreground="White">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="38*" />
                    <ColumnDefinition Width="373*" />
                </Grid.ColumnDefinitions>
                <Label Content="Benutzername" Height="28" HorizontalAlignment="Left" Margin="6,10,0,0" Name="label1" VerticalAlignment="Top" Grid.ColumnSpan="2" Background="{x:Null}" Foreground="White" />
                <Label Content="Passwort" Height="28" HorizontalAlignment="Left" Margin="6,51,0,0" Name="label2" VerticalAlignment="Top" Grid.ColumnSpan="2" Foreground="White" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="73,15,0,0" Name="textBox1" VerticalAlignment="Top" Width="167" Grid.Column="1" Text="{Binding Path=Username, Mode=TwoWay}" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="74,55,0,0" Name="textBox3" Text="{Binding Path=Password, Mode=TwoWay}" VerticalAlignment="Top" Width="166" Grid.Column="1" />
            </Grid>
        </GroupBox>
        <TextBlock Height="53" HorizontalAlignment="Left" Margin="12,152,0,0" Name="textBlock1" Text="1. Geben Sie oben Ihre Google Login-Daten ein.&#10;2. Klicken Sie unten auf Button um normale Google-Suchen zu starten.&#10;3. Seien Sie total normal." VerticalAlignment="Top" TextWrapping="NoWrap" Width="426" Foreground="White" />
        <TextBox Height="24" HorizontalAlignment="Left" Margin="10,256,0,0" Name="textBox2" VerticalAlignment="Top" Width="428" Text="{Binding Path=StatusMessage, Mode=OneWay}" Background="Gray" Foreground="White" />
        <Button Content="Mehr Informationen ..." Height="23" HorizontalAlignment="Left" Margin="308,219,0,0" Name="button2" VerticalAlignment="Top" Width="130" Click="button2_Click" />
        <Image Height="84" HorizontalAlignment="Left" Margin="310,32,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="130" Source="/normalGsearch;component/Resources/ElektrohaseLogo.jpg" />
        <Grid.Background>
            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                <GradientStop Color="Black" Offset="0" />
                <GradientStop Color="#FFA11135" Offset="1" />
                <GradientStop Color="#FFA01235" Offset="0.619" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
</Window>
